<style>
.fui-goods-item .image {
    height: 6rem;
    width: 5rem;
}
.fui-goods-group {
    padding:0.3rem
}
.timer {
    font-size: .6rem;
    height: .95rem;
    color: #ef4f4f;
}
.timer span {
    display: inline-block;
    background:#582e19;
    color:#fff;
    width:.9rem;height:.9rem;
    border-radius: .1rem;
    line-height:.9rem;
    font-size:.5rem; text-align: center;
}
.radius .jy-group {border-radius:0.5rem;margin:0.35rem 0.5rem}
.radius .jy-group .fui-cell-group{border-radius:0.5rem;}
.bgfff .jy-group {background: #fff}
</style>
<div class="jy-group" style="margin-bottom:0">
	<div class="fixed-title" style="margin-top:1rem">
							 <span class="befirst spacing">
								 <span class="icon icon-fengexianzuo" style="font-size:2rem;color:#666"></span>
							 </span> 
							 <span class="title-text bold" style="color:#333;line-height:2rem"><i class="icon icon-xiai red" style="font-size:0.8rem;"></i> 精选好团</span> 
							 <span class="spacing">
								 <span class="icon icon-fengexianyou" style="font-size:2rem;color:#666"></span>
							 </span>
	</div>
	<div ng-if="pagedata.list.length>0" class="fui-goods-group block">
			<div ng-repeat="item in pagedata.list" class="fui-goods-item">
				<div ng-click="access_json('jy_newpingfee/goods.detail//id='+item.goodsid)" ng-class="{'image':1, 'echelon':item.active.title}" style="position:relative;background-image: url({{tomedia(item.goods.image) ||'../core/resource/images/nopic.jpg'}})">
						<div ng-show="item.goods.total <=0" class="salez" style="background-image: url({{tomedia(pagedata.shopset.saleout) || '../addons/jy_weishop/resource/images/salez.png'}});"></div>
				</div>
				<div class="detail" class="detail commission_money">
					<div ng-click="access_json('jy_newpingfee/goods.detail//id='+item.goodsid)" class="name">
							<span class="fui-tag fui-tag-danger" style="background:linear-gradient(to right,rgba(244,221,187,0.6),rgba(235,216,174,1));color:#512f0a;width:auto;font-weight:400">{{item.merchid>0?'商户':'直营'}}</span>
							{{item.goods.title}}
					</div>
					<div class="price" style="margin-top: 0">
						<span class="text">￥{{item.goods.price}}</span>
						<span href="javascript:" ng-click="access_json('jy_newpingfee/goods.detail//id='+item.goodsid)" class="syscolorred"><i class="icon icon-tianmaochaoshigouwuche"></i></span>
					</div>
					<div style="margin-top:-0.35rem">
						<span class="fui-tag-pink-big" style="font-weight:400;font-size:0.6rem;margin-right:0.2rem;padding: 0.1rem 0.3rem;">拼团公排</span>
						<span class="subtitle" style="font-weight:400;font-size:0.6rem">已售{{item.goods.salenum || 0}}{{item.goods.unit || '件'}}</span>
					</div>
				</div>
			</div>
	</div>
	<div ng-if="loading && pagedata.list.length==0" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
</div>
<script>
scope.pagedata.params=scope.pagedata.params?scope.pagedata.params:{};
scope.tool.get_list('jy_newpingfee/index/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_newpingfee/index/getlist/');
}
</script>
